package com.xiaoyu.izf.repository;

import com.xiaoyu.izf.model.YqfStoreStatsDay;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Date;

public interface YqfStoreSatsDayDao extends JpaRepository<YqfStoreStatsDay,Integer>, JpaSpecificationExecutor<YqfStoreStatsDay> {

    public YqfStoreStatsDay findOneById(int id);
    public YqfStoreStatsDay findByStoreIdAndRecDate(String storeId, Date recDate);
}
